<?php 
	$redirect = FALSE;
	
	if (empty($_SESSION['user_id']) && empty($home))
	{
		$_SESSION['login_message'] = "<p style=\"font-weight:bold; color:#c00;\">You must be logged in to view this page.</p>";
		$redirect = TRUE;
	}
	if ($redirect)
	{
		header('Location:'.$_SERVER['DOCUMENT_ROOT'].'uno-course-scheduler/');
		exit(0);
	}
	
	
?>